package com.imooc.service;

import com.imooc.dto.OrderDTO;
import org.springframework.kafka.annotation.KafkaListener;

/**
 * Created by MisterDeng on 2018/5/10/010 11:49.
 */
public interface SeckillService {
    public OrderDTO seckill(OrderDTO orderDTO);

    @KafkaListener(topics = {"topic-order"})
    public void saveOrderDetail(String content);
}
